import { exInput, exRequestData } from '@ve/common/components/extension'

export default {
  VERSION: '20220408',
  type: 'uiPrintLog',
  name: '日志面板',
  icon: 'menu-unfold-line',
  svg: 'dayinrizhi',
  data: {
    requestData: {},
    formData: {},
  },
  //数据别名
  // dataName: 'uiCascader_data',
  //扩展
  extension: {
    model: exInput('展示条数', '50'),
    api: exInput('Api接口', ''),
    method: exInput('Method', ''),
    getDataKey: exInput('获取数据Key', ''),
    requestData: exRequestData('自定义参数', []),
    cycleInterval: {
      name: '循环间隔',
      type: 'exInputNumber',
      value: 5000,
      min: 0,
      tooltip: '接口调用的循环时间，单位毫秒',
    },
  },
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
